package com.chainyoung.trademarket.mvp.contract;

import com.chainyoung.common.appcommon.entity.CommonList;
import com.chainyoung.common.mvp.IModel;
import com.chainyoung.common.mvp.IView;
import com.chainyoung.trademarket.entity.Ad;
import com.chainyoung.trademarket.entity.IndexData;

import java.util.TreeMap;

import io.reactivex.Flowable;

public interface InformationContact {

    interface View extends IView {

        void onGetInformationListSuccess(CommonList<Ad> data);

        void onGetInformationListFailed();

    }

    interface Model extends IModel {
        Flowable<CommonList<Ad>> getInformationList(TreeMap<String, Object> map);

    }


}
